package com.engine.init;

import com.engine.config.EngineConfig;
import com.engine.init.entity.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Slf4j
public class Globle {

    public static Map<String, TablePropertieEntity> TablePropertiesMap;
    public static Map<String, TableStatisticalPropertiesEntity> TableStatisticalPropertiesMap;
    public static Map<String, GroupPropertiesEntity> GroupPropertiesMap;
    public static Map<String, RasterTileProperties> RasterTilePropertiesMap;
    public static  Map<String, List<String>> PacRelation;

    public static Map<String, LocationPacToMvtRange[]> LocationPacToMvtRangeMap;
    public static int tokenConfig=0;
    public static int vectorBuffer=0;

    public static String Active="";

    public static int locationMvtRangeLoad=0;//开启栅格切片范围控制的开关，1开启，0关闭
    public static  int locationMvtRangeLoadLimitZ=0;

    public static byte[] BlankPng;//空白png数据

    public static String TableNames="tob_gis_point_ytxx_transpoint,tob_gis_point_kfxx,tob_gis_point_jddy,tob_gis_point_yyzd,"
            +"tob_gis_point_wlw,tob_gis_point_ymdxx,tob_gis_point_yyzl";
    public static String StatisticalNames="tob_gis_point_ytxx_transpoint_核心区面积占比,tob_gis_polygon_yyzl_lv14_烟叶质量平均分数,tob_gis_polygon_ytxx_核心区面积统计," +
            "tob_gis_polygon_ytxx_2019规划面积,tob_gis_point_wlw_物联网设备数量统计,tob_gis_point_ytxx_transpoint_田块数量,tob_gis_point_ytxx_transpoint_田块面积," +
            "tob_gis_point_ymdxx_育苗点数量统计,tob_gis_point_yyzd_烟叶站点数量统计,tob_gis_point_kfxx_烤房数量统计,tob_gis_point_jddy_基地单元数量统计," +
            "tob_gis_point_ytxx_transpoint_优质区面积占比,tob_gis_point_qxsj_lv14_平均降水,tob_gis_polygon_qxsj_lv14_平均光照,tob_gis_polygon_qxsj_lv14_平均气温," +
            "tob_gis_point_ytxx_transpoint_适宜区面积占比";
    public static String Rasters="tob_ras_yndem30,tob_ras_shengtailvl,tob_ras_demlvl,tob_ras_podulvl";
}
